package com.zyd.shiro.persistence.mapper;

import com.zyd.shiro.business.vo.TermConditionVO;
import com.zyd.shiro.persistence.beans.Term;
import com.zyd.shiro.plugin.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TermMapper  extends BaseMapper<Term> {
    List<Term> findPageBreakByCondition(TermConditionVO termConditionVO);
    int updateTermStatus(@Param("id")Long id,@Param("status") Integer status);

    List<Term> selectTermList();
}